package com.ems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ems.vo.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 储能电站
 * </p>
 * @author WuZH
 * @since 2023-10-24
 */
@Data
@TableName ("station_info")
@ApiModel (value = "StationEntity对象", description = "储能电站")
public class StationEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("电站名称")
    @TableField ("stationName")
    private String stationName;

    @ApiModelProperty ("装机功率")
    @TableField ("power")
    private String power;

    @ApiModelProperty ("装机容量")
    @TableField ("capacity")
    private String capacity;

    @ApiModelProperty ("电站封面图")
    @TableField ("cover")
    private String cover;

    @ApiModelProperty ("地图经度")
    @TableField ("longitude")
    private String longitude;

    @ApiModelProperty ("地图维度")
    @TableField ("latitude")
    private String latitude;

    @ApiModelProperty ("省份")
    @TableField ("provinceId")
    private String provinceId;

    @ApiModelProperty ("城市")
    @TableField ("cityId")
    private String cityId;

    @ApiModelProperty ("区县")
    @TableField ("countyId")
    private String countyId;

    @ApiModelProperty ("地址")
    @TableField ("address")
    private String address;

    @ApiModelProperty ("建设场所")
    @TableField ("place")
    private String place;

    @ApiModelProperty ("EMS类型")
    @TableField ("emsType")
    private Integer emsType;

    @ApiModelProperty ("商户Id")
    @TableField ("merchantId")
    private String merchantId;

    @ApiModelProperty ("电站投运日期")
    @TableField ("startTime")
    private Date startTime;

    @ApiModelProperty ("新建日期")
    @TableField ("createTime")
    private Date createTime;

    @TableField ("changeTime")
    private Date changeTime;

    @TableField ("isUsed")
    private Integer isUsed;


}
